
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package common;

/**
 *
 * @author arthur.hoareau
 */
public class Constantes {
    // Défini la catégorie des cartes
    public static final int C_TRESOR = 1;
    public static final int C_DONJON = 2;
    
    // Sexe
    public static final int SEX_MAS = 1;
    public static final int SEX_FEM = 2;
    
    // Lors du getClass().getName() on récupère "nomPackage.nomClasse"
    public static final String C_OBJET  = "cartes.Objet";
    public static final String C_RACE = "cartes.Race";
    public static final String C_CLASSE = "cartes.Classe";
    public static final String C_MONSTRE = "cartes.Monstre";
    public static final String C_ACTION = "cartes.Action";
    public static final String C_MALEDICTION = "cartes.Malediction";;
    //

    // Type standard : pas de race / classe / sexe prédéfini
    public static final int UNDEFINED = 0;
    
    // Race
    public static final int ELFE = 1;
    
    public static final int NAIN = 3;
    public static final int HALFELIN = 4;
    public static final int SANG_MELE = 5;
    public static final int HUMAIN = 6;

    // Classe
    public static final int GUERRIER = 1;
    public static final int VOLEUR = 2;
    public static final int PRETRE = 3;
    public static final int MAGICIEN = 4;
    public static final int SUPER_MUNCHKIN = 5;

    // Parties du corps
    public static final int EQU_TETE = 1;
    public static final int EQU_MAIN = 2;
    public static final int EQU_2_MAINS = 3;
    public static final int EQU_JAMBES = 4;
    public static final int EQU_PIEDS = 5;   
    public static final int EQU_SEXE = 7;
    public static final int EQU_ARMURE = 8;
    
    public static final int NB_CARTES_START = 4;
    
    public static final String BUTTON_WIN = "Combattre !";
    public static final String BUTTON_LOSE = "Tenter de fuir.";

    public static final String BUTTON_DEGUERPIR = "Deguerpir";
    public static final String FIN_COMBAT = "Fin du combat";

    public static final int PAN_MAIN = 1;
    public static final int PAN_EQUIP = 2;

    // Constantes pour les cartes DONJON

    
    // Fenetres
    // Définition des fenetres
    public static final int FEN_ACCUEIL = 0;
    public static final int FEN_CREER = 1;
    public static final int FEN_JEU_ENTRER = 2;
    public static final int FEN_COMBAT_DEBUT = 3;
    public static final int FEN_COMBAT_VICTOIRE = 4;
    public static final int FEN_COMBAT_DEFAITE = 5;
    public static final int FEN_LANCEMENT_DE = 6;
    public static final int FEN_POPUP_A_PROPOS = 8;
    public static final int FEN_CHOIXJOUEUR = 9;
    public static final int FEN_PREFERENCES_JOUEURS = 10;
    public static final int FEN_FIN_PARTIE = 11;
     public static final int FEN_MORT= 12;
    
    
}
